﻿
@{
    ViewBag.Title = "Detail";
}

<h2>@Model.ToDo.Name</h2>

@if (Model.Items.Count == 0)
{
    <h4>Whooo hooo you are done with this list!!</h4>
}

@foreach (var item in Model.Items)
{
    <ul class="mylist">
        <li class="ui-menu-item" role="menuitem">
            <span class="ui-all">
               <input type="checkbox" checked="@item.Finished" /> @item.Name
            </span>
        </li>
    </ul>
}
    